<!doctype html>
<html class="no-js">
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<title>{$site_title}</title>
<meta name="description" content="">
<meta name="keywords" content="">
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no">
<meta name="renderer" content="webkit">
<meta http-equiv="Cache-Control" content="no-siteapp" />
<link rel="stylesheet" type="text/css" href="http://apps.bdimg.com/libs/blendui/2.0.0/boost.min.css" />
<link rel="stylesheet" type="text/css" href="{$resource_basic}/css/webapp.css" />
<script type="text/javascript" src="{$resource_basic}/js/jquery.min.js"></script>
<script type="text/javascript" src="{$resource_basic}/js/iscroll.js"></script>
<script type="text/javascript" src="http://apps.bdimg.com/libs/blendui/2.0.0/boost.min.js"></script>
<script type="text/javascript">window.boost = $.noConflict(true);</script>
<style>
.clearfix:before,  .clearfix:after { content: " "; display: table; }
.clearfix:after { clear: both; }
img { max-width: 100%; border: 0; }
.text-center{text-align: center!important;}
/*font-size*/
.fs-2x { font-size: 16px }
.fs-1x { font-size: 14px }
.fs-0x { font-size: 12px }
/*blend overwrite*/
.blend-card-title { overflow: inherit!important; line-height: inherit!important; }
.blend-tab-header-item-active { color: #03ab9e; }
.blend-tab-header-active { background-color: #03ab9e; }
/*media*/
.media { margin-top: 0.75rem; margin-bottom: 0.75rem; }
.media img { max-width: inherit!important; }
.media:first-child { margin-top: 0; }
.media, .media-body { overflow: hidden; zoom: 1; }
.media-body { width: 100%; }
.media-object { display: block; }
.media-right, .media > .pull-right { padding-left: 0.5rem; }
.media-left, .media > .pull-left { padding-right: 0.5rem; }
.media-left, .media-right, .media-body { display: table-cell; vertical-align: middle; }
.media-middle { vertical-align: middle; }
.media-bottom { vertical-align: bottom; }
.media-heading { margin-top: 0; margin-bottom: 0.15rem; }
.media-list { padding-left: 0; list-style: none; }
/*ribbon*/
.ribbon { padding: 0px; display: inline-block; position: relative; font-size: 14px; text-align: center; margin: 0 auto }
.ribbon:before, .ribbon:after { content: ""; width: 0px; height: 0px; display: block; position: absolute; z-index: 1; }
.ribbon:before { border-top: 12px solid #F96755; border-right: 20px solid #F96755; border-bottom: 13px solid #F96755; border-left: 10px solid transparent; border-left-color: rgba(0, 0, 0, 0); bottom: -6px; left: 0xp; }
.ribbon:after { border-top: 12px solid #F96755; border-right: 10px solid transparent; border-right-color: rgba(0, 0, 0, 0); border-bottom: 13px solid #F96755; border-left: 20px solid #F96755; bottom: -6px; right: 0px; }
.ribbon > span { background: #FF8071; padding: 3px 15px 3px; margin: 0px 20px; display: block; position: relative; z-index: 2; font-weight: bold; text-align: center; color: #ffffff; min-width: 160px;}
.ribbon > span:before, .ribbon > span:after { content: ""; width: 0px; height: 0px; display: block; position: absolute; z-index: 1; }
.ribbon > span:before { border-top: 3px solid #C94131; border-right: 5px solid #C94131; border-bottom: 3px solid transparent; border-bottom-color: rgba(0, 0, 0, 0); border-left: 5px solid transparent; border-left-color: rgba(0, 0, 0, 0); bottom: -6px; left: 0px; }
.ribbon > span:after { border-top: 3px solid #C94131; border-right: 5px solid transparent; border-right-color: rgba(0, 0, 0, 0); border-bottom: 3px solid transparent; border-bottom-color: rgba(0, 0, 0, 0); border-left: 5px solid #C94131; bottom: -6px; right: 0px; }
.ribbon > span > span { margin-bottom: 2px; display: block; font-weight: normal; font-size: 12px; color: #f2f2f2; }
/*list*/
.list-circle-num, .list-square-num { counter-reset: list1; margin: 0; padding: 0 }
.list-circle-num > li, .list-square-num > li { list-style: none outside none; margin-bottom: 13px; padding-left: 25px; position: relative; }
.list-circle-num > li:before { counter-increment: list1; content: counter(list1) ''; width: 22px; height: 22px; text-align: center; border-radius: 11px; font-size: 15px; border-width: 1px; border-style: solid; margin: 0 16px 0 0; display: inline-block; vertical-align: middle; position: absolute; left: 0; top: 0; }
.list-square-num > li:before { counter-increment: list1; content: counter(list1) ''; width: 22px; height: 22px; text-align: center; border-radius: 5px; font-size: 15px; border-width: 1px; border-style: solid; margin: 0 16px 0 0; display: inline-block; vertical-align: middle; }
.list-circle-num > li > ol, .list-square-num > li > ol { counter-reset: list2; }
.list-circle-num > li > ol > li, .list-square-num > li > ol > li { margin-bottom: 13px; }
.list-circle-num > li > ol > li:before { counter-increment: list2; content: counter(list1) "." counter(list2) ""; width: 24px; height: 24px; text-align: center; border-radius: 12px; font-size: 15px; border-width: 1px; border-style: solid; margin: 0 16px 0 0; display: inline-block; vertical-align: middle; }
.list-square-num > li > ol > li:before { counter-increment: list2; content: counter(list1) "." counter(list2) ""; width: 24px; height: 24px; text-align: center; border-radius: 5px; font-size: 15px; border-width: 1px; border-style: solid; margin: 0 16px 0 0; display: inline-block; vertical-align: middle; }
.list-circle-num[class*="list-full"] > li::before, .list-square-num[class*="list-full"] > li::before { background: #FF8071; color: #ffffff; }
.list-circle-num > li h4 { margin-bottom: 0; }
.list-circle-num > li p { margin-top: 0; }
/*content*/
.content { margin: 25px 15px; padding:5px 15px 15px 15px; -moz-border-radius: 10px; -webkit-border-radius: 10px; border-radius: 10px; background-color: #fff; -webkit-box-shadow: 0 0 15px rgba(0, 0, 0, .2); -moz-box-shadow: 0 0 15px rgba(0, 0, 0, .2); box-shadow: 0 0 15px rgba(0, 0, 0, .2); position: relative;font-size:14px; }
.content_header { text-align: center; margin: 5px auto 15px auto; }
.content_body { border-top: 1px dashed #FFD9D4; padding-top: 15px; }
.clip { width: 50px; height: 50px; background: url({$resource_basic}/img/scan/clip.png) center no-repeat; background-size: 100% auto; position: absolute; left: 5px; top: -11px; }
.content h4 { font-size: 15px; }
.content hr { border-style: dashed }
/*content.green*/
.content.green .list-circle-num[class*="list-full"] > li::before, .list-square-num[class*="list-full"] > li::before { background: #01C4C6; }
.content.green .content_body{border-color:#01C4C6}
.content.green .ribbon:before { border-top: 12px solid #01B1B3; border-right: 20px solid #01B1B3; border-bottom: 13px solid #01B1B3;}
.content.green .ribbon:after { border-top: 12px solid #01B1B3; border-bottom: 13px solid #01B1B3; border-left: 20px solid #01B1B3; }
.content.green .ribbon > span { background: #01C4C6;}
.content.green .ribbon > span:before { border-top: 3px solid #028D8F; border-right: 5px solid #028D8F;}
.content.green .ribbon > span:after { border-top: 3px solid #028D8F;border-left: 5px solid #028D8F;}
.not-found{padding-top: 8.0rem;padding-bottom: 8.0rem;color:#8A8A8A}
/*fixed*/
.fixed-top{position: fixed;top:0;z-index:99}
.fixed{position: fixed;top:44px;z-index:98;height:135px;}
body{padding-top: 179px;position:relative;}
/**
 *
 * Pull down styles
 *
 */
#pullDown, #pullUp { background: #fff;line-height: 40px; padding: 5px 10px; border-bottom: 1px solid #ccc; font-weight: bold; color: #888;text-align: center }
#pullDown .pullDownIcon, #pullUp .pullUpIcon { display: block; float: left; width: 40px; height: 40px;/* background: url(pull-icon@2x.png) 0 0 no-repeat;*/ -webkit-background-size: 40px 80px; background-size: 40px 80px; -webkit-transition-property: -webkit-transform; -webkit-transition-duration: 250ms; }
#pullDown .pullDownIcon { -webkit-transform: rotate(0deg) translateZ(0); }
#pullUp .pullUpIcon { -webkit-transform: rotate(-180deg) translateZ(0); }
#pullDown.flip .pullDownIcon { -webkit-transform: rotate(-180deg) translateZ(0); }
#pullUp.flip .pullUpIcon { -webkit-transform: rotate(0deg) translateZ(0); }
#pullDown.loading .pullDownIcon, #pullUp.loading .pullUpIcon { background-position: 0 100%; -webkit-transform: rotate(0deg) translateZ(0); -webkit-transition-duration: 0ms; -webkit-animation-name: loading; -webkit-animation-duration: 2s; -webkit-animation-iteration-count: infinite; -webkit-animation-timing-function: linear; }
@-webkit-keyframes loading {
    from {
        -webkit-transform:rotate(0deg) translateZ(0);
    }
    to {
        -webkit-transform:rotate(360deg) translateZ(0);
    }
}
</style>
</head>
<body>
    <header data-blend-widget="header" class="blend-header header_title_bg fixed-top">
        <span class="blend-header-left">
            <a class="blend-header-item  blend-button" href="javascript:history.go(-1);"><img src="{$resource_basic}/img/btn_back.png" style="height:28px;"/></a>
        </span>
        <span class="blend-header-title">
            <a class="blend-header-item">扫码结果</a>
        </span>
        <span class="blend-header-right">
            
        </span>
    </header> 
<div class="main-content">
    <section class="blend-tab">
        <div class="fixed">
            <div class="blend-card blend-card-no-icon">
                <div class="media">
                    <div class="media-body">
                        <h3 class="media-heading fs-2x">
                            <empty name="result.name"> 暂无数据 <else/>   {$result.name} </empty>  
                        </h3>
                    </div>
                    <div class="media-left"> <a href="/index.php/M/Founding/publish_new/from/1/isnew/1.html"><img src="{$resource_basic}/img/starting_mark.png" width="65px"></a> </div>
                </div>
            </div>
            <div class="blend-tab-header" style="border-bottom: solid 1px #dcdcdc;">
                <div class="blend-tab-header-item">检测报告</div>
                <div class="blend-tab-header-item">如何选购</div>
                <div class="blend-tab-header-item">常见问题</div>
                <div class="blend-tab-header-active"></div>
            </div>
        </div>
        <div class="blend-tab-content">
            <div class="blend-tab-content-item">
                <empty name="result.items">
                    <div class="not-found">
                            <div class="text-center">
                                <img src="{$resource_basic}/img/null_content.png" style="width: 30%;">
                                <p style=" font-size: 2rem;">暂无相关内容</p>
                            </div>
                        </div>
                    
                    <else/>
                    <div id="result_list">
                        <div class="fs-1x" style="padding: 10px;border-bottom: solid 1px #dcdcdc;">共有{$result.item_count}份检测报告</div>   
                        <volist name="result.items" id="vo">
                        <a href="{:U('M/Founding/show_thirdparty_data_of_app')}?id={$vo.id}">
                            <div class="blend-card blend-card-no-icon" style="height:100px;">
                                <div class="blend-card-content-view" style="width:75%;float: left;">
                                    <div class="blend-card-title">{$vo.brand}{$vo.product_name}{$vo.product_model}</div>
                                    <notempty name="vo.batch_no">
                                        <div class="blend-card-sub-title">生产日期/批号:{$vo.batch_no}</div>
                                    </notempty>
                                    <notempty name="vo.check_result">
                                    <div class="blend-card-sub-title" style=" color:red;">{$vo.check_result}</div>
                                    </notempty>
                                </div>
                                <div class="blend-card-img-view" style="float: right;">
                                    
                                    <if condition="$vo.qualified eq 0">
                                        <img src="{$resource_basic}/img/unqualified_mark.png">
                                        <else/>
                                        <img src="{$resource_basic}/img/qualified_mark.png">
                                    </if>
                                    
                                    
                                </div>

                            </div>
                        </a>  
                    </volist>
                    </div>
                </empty>
                
            </div>
            <div class="blend-tab-content-item">
                                
                <empty name="more_data.how_to_buy.content">
                    <div class="not-found">
                            <div class="text-center">
                                <img src="{$resource_basic}/img/null_content.png" style="width: 30%;">
                                <p style=" font-size: 2rem;">暂无相关内容</p>
                            </div>
                        </div>
                    
                    <else/>
                        <div class="content">
                        <div class="clip"></div>
                        <div class="content_header clearfix">
                            <h3 class="ribbon">
                                <span>{$more_data.how_to_buy.title}</span>
                            </h3>
                        </div>
                        <div class="content_body">
                            {$more_data.how_to_buy.content|htmlspecialchars_decode}
                        </div>
                    </div>
                </empty>
                                
            </div>
            <div class="blend-tab-content-item">
                <empty name="more_data.faq.content">
                    <div class="not-found">
                            <div class="text-center">
                                <img src="{$resource_basic}/img/null_content.png" style="width: 30%;">
                                <p style=" font-size: 2rem;">暂无相关内容</p>
                            </div>
                        </div>
                    
                    <else/>
                        <div class="content">
                        <div class="clip"></div>
                        <div class="content_header clearfix">
                            <h3 class="ribbon">
                                <span>{$more_data.faq.title}</span>
                            </h3>
                        </div>
                        <div class="content_body">
                            {$more_data.faq.content|htmlspecialchars_decode}
                        </div>
                    </div>
                </empty>
                
                
            </div>
        </div>
    </section>
</div>	
<!--<a class="blend-button blend-button-primary blend-button-large" href="{:U('M/News/comments',array('fdid'=>$get_new['id'],'pid'=>0))}">评论入口</a>-->
<!--底部菜单end-->
<script type="text/javascript">boost('.blend-tab').tab();</script>

<script src="http://res.wx.qq.com/open/js/jweixin-1.0.0.js"></script>
<script>
//分享

wx.config({
    debug: false,
    appId: '{$signPackage["appId"]}',
    timestamp: {$signPackage["timestamp"]},
    nonceStr: '{$signPackage["nonceStr"]}',
    signature: '{$signPackage["signature"]}',
    jsApiList: [
      // 所有要调用的 API 都要加到这个列表中
      'onMenuShareTimeline',
      'onMenuShareAppMessage'
    ]
});


wx.ready(function () {
// 在这里调用 API
//    wx.onMenuShareTimeline({
//        title: '{$get_new.title}', // 分享标题
//        desc: '食品安全靠大家，一步一步更安全，我觉得这个信息很实用……', // 分享描述
//        link: "{$site_url}{:U('M/News/details_for_share')}"+"?id="+{$get_new.id}, // 分享链接
//        imgUrl: 'http://www.zhongcetianxia.com/logo.png', // 分享图标
//        success: function () { 
//            // 用户确认分享后执行的回调函数，生成红包
//
//        },
//        cancel: function () { 
//            // 用户取消分享后执行的回调函数
//        }
//    });
//    
//    wx.onMenuShareAppMessage({
//        title: '{$get_new.title}', // 分享标题
//        desc: '食品安全靠大家，一步一步更安全，我觉得这个信息很实用……', // 分享描述
//        link: "{$site_url}{:U('M/News/details_for_share')}"+"?id="+{$get_new.id}, // 分享链接
//        imgUrl: 'http://www.zhongcetianxia.com/logo.png', // 分享图标
//        type: '', // 分享类型,music、video或link，不填默认为link
//        dataUrl: '', // 如果type是music或video，则要提供数据链接，默认为空
//        success: function () { 
//            // 用户确认分享后执行的回调函数
//
//        },
//        cancel: function () { 
//            // 用户取消分享后执行的回调函数
//        }
//    });

});

</script>
<?php require_once 'cs.php';echo '<img src="'._cnzzTrackPageView(1256622573).'" width="0" height="0"/>';?>
<include file="Index/foot_analyze"/>
</body>
</html>